var p;
$(document).ready(function () {
gapi.hangout.addApiReadyListener(function () {
	if gapi.hangout.isAppVisible() {
		p = gapi.hangout.getParticipants();
		app = document.getElementById("app");
		app.innerHTML = p[0].displayName;
	}
});
});
